<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>个人中心</title>
	<!-- 样式 -->
	<style>
		body {
			margin: 0;
			padding: 0;
			height: 100%;
			background: #0072c6;
			font-family: 'Roboto', sans-serif;
		}

		h1 {
			text-align: center;
			font-size: 36px;
			color: white;
			margin-top: 50px;
		}

		.container {
			width: 100%;
			margin-top: 50px;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
		}

		.userinfo {
			font-size: 24px;
			color: white;
			margin-bottom: 30px;
			display: flex;
			align-items: center;
		}

		.avatar {
			width: 60px;
			height: 60px;
			background: #fff;
			border-radius: 50%;
			margin-right: 20px;
			display: flex;
			justify-content: center;
			align-items: center;
			font-size: 24px;
			color: #555;
		}

		.username {
			font-size: 28px;
			color: white;
		}

		.button {
			display: inline-block;
			padding: 10px 16px;
			font-size: 18px;
			font-weight: bold;
			color: #fff;
			background-color: #00aeef;
			border-color: #0096d8;
			border-radius: 6px;
			text-decoration: none;
			margin-bottom: 20px;
			transition: all .3s ease-in-out;
		}

		.button:hover {
		    background: linear-gradient(to bottom, #00a2e1 0%, #0079bf 100%);
		    text-shadow: 0 1px rgba(0,47,127,.5);
		    cursor: pointer;
		    transform: translateY(-2px);
		    box-shadow: 0 2px 5px rgba(0,0,0,.1);
		}

		.background-container img {
            width: 100%;
            height: auto;
            opacity: 0.3;
            position: absolute;
            top: 0;
            left: 0;
        }
	</style>

	<!-- 依赖 -->
	<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
</head>
<body>
	<!-- 页面内容 -->
	<div class="background-container">
		
	</div>
	<div class="container">
		<h1>个人中心</h1>
		<div class="userinfo">
			<div class="avatar">User</div>
			<div class="username"><%= session.getAttribute("username") %></div>
		</div>
		<a href="#" class="button" onclick="alert('管理员账号密码不可修改！')">修改密码</a>

	</div>
</body>
</html>